export const tableConfig = {
    headerOperation: [],
    search: [
        {
            key: 'certifidcation',
            type: 'text',
            name: '姓名',
            modelValue: ''
        },
        {
            key: 'certifidcateion',
            type: 'number',
            name: '手机号码',
            modelValue: ''
        },
        {
            key: 'c',
            type: 'select',
            name: '投诉渠道',
            modelValue: '-1',
            options: [
                { value: '-1', label: '全部' },
                { value: '1', label: '抖音' },
                { value: '0', label: '公众号' }
            ]
        },
        {
            key: 'status',
            type: 'select',
            name: '状态',
            modelValue: '-1',
            options: [
                { value: '-1', label: '全部' },
                { value: '1', label: '待处理' },
                { value: '2', label: '已处理' },
                { value: '3', label: '处理中' }
            ]
        }
    ],
    permission: [],
    table: {
        operationWidth: '140px',
        operation: [
            {
                type: 'edit',
                visible: { property: 'status', condition: '==', value: 0 },
                permission: [],
                className: '',
                name: '编辑'
            },
            {
                type: 'look',
                visible: true,
                permission: [],
                className: '',
                name: '查看'
            }
        ],
        propName: {
            a1: '类型',
            a2: '渠道',
            a3: '姓名',
            a4: '联系方式',
            a9: '投诉内容',
            a10: '状态',
            a11: '处理人',
            a15: '投诉时间',
            a12: '处理时间'
        },
        showSummary: false,
        selection: false,
        index: false,
        isDialog: false,
        summaryArray: [],
        summaryType: '',
        sortable: [],
        switch: {
            disabled: false,
            permission: [],
            tooltip: {
                visible: false,
                content: ''
            }
        }
    }
}
